package com.learning.mybatis.mapper.insert.service;

import com.learning.mybatis.mapper.insert.entity.User;

/**
 * ClassName: UserService
 * Description: 用户业务
 * Date: 2020/7/22 10:20 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
public interface IUserService {

    /**
     * 新增
     *
     * @param user
     * @return
     */
    int add(User user);
    

    /**
     * 查询
     *
     * @param id
     * @return
     */
    User select(int id);
}
